package com.millstein.tsinglog.model.vo.biz;

import com.millstein.tsinglog.model.pojo.Tag;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.beans.BeanUtils;

/**
 * manager中标签页面表格显示的数据
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class TagVo extends Tag {
    private String categoryName;

    public TagVo(Tag tag) {
        BeanUtils.copyProperties(tag, this);
    }
}
